
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.Employee;
import cn.edu.scau.cmi.hombio.domain.Except;
import cn.edu.scau.cmi.hombio.domain.ExceptionType;
import cn.edu.scau.cmi.hombio.domain.Task;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for Except entities
 * 
 */
public interface ExceptService {

	/**
	* Delete an existing ExceptionType entity
	* 
	 */
	public Except deleteExceptExceptionType(Integer except_id, Integer related_exceptiontype_id);

	/**
	* Save an existing Task entity
	* 
	 */
	public Except saveExceptTask(Integer id, Task related_task);

	/**
	* Delete an existing Task entity
	* 
	 */
	public Except deleteExceptTask(Integer except_id_1, Integer related_task_id);

	/**
	* Save an existing Except entity
	* 
	 */
	public void saveExcept(Except except);

	/**
	* Load an existing Except entity
	* 
	 */
	public Set<Except> loadExcepts();

	/**
	* Save an existing Employee entity
	* 
	 */
	public Except saveExceptEmployee(Integer id_1, Employee related_employee);

	/**
	* Delete an existing Except entity
	* 
	 */
	public void deleteExcept(Except except_1);

	/**
	* Return a count of all Except entity
	* 
	 */
	public Integer countExcepts();

	/**
	 */
	public Except findExceptByPrimaryKey(Integer id_2);

	/**
	* Save an existing ExceptionType entity
	* 
	 */
	public Except saveExceptExceptionType(Integer id_3, ExceptionType related_exceptiontype);

	/**
	* Return all Except entity
	* 
	 */
	public List<Except> findAllExcepts(Integer startResult, Integer maxRows);

	/**
	* Delete an existing Employee entity
	* 
	 */
	public Except deleteExceptEmployee(Integer except_id_2, Integer related_employee_id);
}